import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import store from './store/index.js'
import simulateLogin from './simulate/login.js'

import './components/element-ui.config.js'
import './icons'
import 'normalize.css/normalize.css'
import './assets/style/index.scss'

Vue.config.productionTip = false

simulateLogin()
  .then(() => {
    new Vue({
      router,
      store,
      render: h => h(App)
    }).$mount('#app')
  })
  .catch(() => {})
